<%= error_messages_for 'task' %>

<!--[form:task]-->
<p><label for="task_name">Name</label><br/>
<%= text_field 'task', 'name'  %></p>

<p><label for="task_done">Done</label><br/>
<select id="task_done" name="task[done]"><option value="false">False</option><option value="true">True</option></select></p>

<p><label for="task_priority">Priority</label><br/>
<%= text_field 'task', 'priority'  %></p>

<p><label for="task_parentId">Parentid</label><br/>
<%= text_field 'task', 'parentId'  %></p>

<p><label for="task_started">Started</label><br/>
<%= datetime_select 'task', 'started'  %></p>

<p><label for="task_ended">Ended</label><br/>
<%= datetime_select 'task', 'ended'  %></p>
<!--[eoform:task]-->

